package com.pojo;


import java.io.Serializable;

public class OrderProduct implements Serializable {

  private String id;
  private String orderId;
  private String productId;
  private long productNum;
  private Product product;



  public Product getProduct() {
    return product;
  }

  public void setProduct(Product product) {
    this.product = product;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public String getOrderId() {
    return orderId;
  }

  public void setOrderId(String orderId) {
    this.orderId = orderId;
  }


  public String getProductId() {
    return productId;
  }

  public void setProductId(String productId) {
    this.productId = productId;
  }


  public long getProductNum() {
    return productNum;
  }

  public void setProductNum(long productNum) {
    this.productNum = productNum;
  }

  @Override
  public String toString() {
    return "OrderProduct{" +
            "id='" + id + '\'' +
            ", orderId='" + orderId + '\'' +
            ", productId='" + productId + '\'' +
            ", productNum=" + productNum +
            ", product=" + product +
            '}';
  }
}
